
<!-- <div class="panel panel-primary custom-panel">
	<div class="panel-heading text-center">
		<font face="Courier" class="" size="5">详细信息</font>
	</div> -->
<!-- 	<div class="panel-body">

		<div index="0" heading="详细信息"> -->
		<div class="modal-header">
               <h4 class="modal-title"><b>角色分配</b></h4>
        </div>
	


    <div class="modal-body">
    <div class="container-fluid form-horizontal ">
      
        <div class="col-xs-12 " >
            <div class=" col-xs-12" style="margin-top:15px">
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">单位名称:</label>
                    <div class="col-xs-7 input-group">
                        <input class="form-control" ng-model="user1.name" disabled="true">
                    </div>
                </div>
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label" >登录账号:</label>
                    <div class="col-xs-7 input-group">
                        <input class="form-control" ng-model="user1.loginname" disabled="true">
                    </div>
                </div>
            </div>
         
            <!--  <div class=" col-xs-12" style="margin-top:15px">
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">主要负责人:</label>
                    <div class="col-xs-7 input-group">
                        <input class="form-control" ng-model="user1.responsible_person" >
                    </div>
                </div>
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">联系电话:</label>
                    <div class="col-xs-7 input-group">
                       <input class="form-control" ng-model="user1.responsible_person_phone" >
                    </div>
                </div>
            </div> -->
            <!--  <div class=" col-xs-12" style="margin-top:15px">
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">负责人:</label>
                    <div class="col-xs-7 input-group">
                       <input class="form-control" ng-model="user.charge_person">
                    </div>
                </div>
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">负责人电话:</label>
                    <div class="col-xs-7 input-group">
                       <input class="form-control" ng-model="user.charge_person_phone">
                    </div>
                </div>
            </div>
             <div class=" col-xs-12" style="margin-top:15px">
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">提报人:</label>
                    <div class="col-xs-7 input-group">
                        
                         <input class="form-control" ng-model="user.submit_person">
                    </div>
                </div>
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label">提报日期:</label>
                    <div class="col-xs-7 input-group">
                       <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="user.submit_date" is-open="date1.opened" 
		                    readonly close-text="关闭" current-text="今天" clear-text="清除" />
		                <span class="input-group-btn">
		                    <button type="button" class="btn btn-default"
		                            ng-click="dateOpen1($event, date1)">
		                        <i class="glyphicon glyphicon-calendar"></i>
		                    </button>
                </span>
                    </div>
                </div>
            </div> -->
            <!--  <div class=" col-xs-12" style="margin-top:15px; margin-bottom:15px">
                
                <div class="col-xs-6" >
                    <label class="col-xs-5 control-label">用户类别:</label>
                    <div class="col-xs-7 input-group">
                      <select class="form-control" style="width: 100px;" ng-model="user1.type" >
                        <option value="">未选择</option>
                        <option value="1">景区</option>
                        <option value="2">酒店</option>
                        <option value="3">旅游局</option> 
                    </select>
                     
                       
                    </div>
                </div>
                <div class="col-xs-6">
                    <label class="col-xs-5 control-label" >所在区县:</label>
                    <div class="col-xs-7 input-group">
                       <input class="form-control" ng-model="user1.place" >
                    </div>
                </div>
               
            </div> -->

            <div class=" col-xs-12" style="margin-top:15px; margin-bottom:15px">
                 <div class="col-xs-6">
                    <label class="col-xs-5 control-label">角色:</label>
                    <div class="col-xs-7 ">
                        <div class="checkbox" ng-repeat="roleobj in objs">
                          <label>
                            <input type="checkbox" name="role" value="{{roleobj.id}}"
                            ng-click="selection($event,roleobj)"
                            ng-checked="roleobj.iselected == 1"
                            >
                            {{roleobj.name}}
                          </label>
                        </div>
                    </div>
                </div>
            </div>


           
           
               

        </div>
      </div>

		
	</div>
	 <div class="modal-footer">
	<!--  <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="updateinfor(user1)">修改</button> -->
      <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="ok(user1)">OK</button>
	</div>